package {
	
	import ThreeMelons.Daiquiri.Visualization.ObjectRenderer;
	import ThreeMelons.Daiquiri.Visualization.RendererCreators.TypeBasedRendererCreator;
	import ThreeMelons.Daiquiri.Visualization.SpriteObjectRenderer;
	import ThreeMelons.Daiquiri.World.WorldObject;
	
	import flash.display.MovieClip;

	public class PaletaRendererCreator extends TypeBasedRendererCreator {
		
		public override function CreateObjectRenderer(worldObject:WorldObject):ObjectRenderer {
			var mc:MovieClip = new MovieClip();
			mc.graphics.lineStyle(1,0xff0000,3);
			mc.graphics.drawCircle(0,0,10);
			
			return new SpriteObjectRenderer(worldObject,mc);
		}
		
	}
}
